from django.urls import path

# 添加企业当前已配置的登录
from SaaSDataTenementSettings.SaaSDataTenementLoginSettings.SaaSDataTenementLoginCreate import \
    SaaSDataTenementLoginCreate
# 删除企业当前已配置的登录
from SaaSDataTenementSettings.SaaSDataTenementLoginSettings.SaaSDataTenementLoginDelete import \
    SaaSDataTenementLoginDelete
# 获取企业当前已配置的登录
from SaaSDataTenementSettings.SaaSDataTenementLoginSettings.SaaSDataTenementLoginQuery import SaaSDataTenementLoginQuery
# 为企业开启大模块
from SaaSDataTenementSettings.SaaSDataTenementModelView.SaaSDataTenementModelCreate import SaaSDataTenementModelCreate
# 关闭企业的大模块
from SaaSDataTenementSettings.SaaSDataTenementModelView.SaaSDataTenementModelDelete import SaaSDataTenementModelDelete
# 获取企业开启的大模块
from SaaSDataTenementSettings.SaaSDataTenementModelView.SaaSDataTenementModelQuery import SaaSDataTenementModelQuery
# 添加企业功能包
from SaaSDataTenementSettings.SaaSDataTenementPackageView.SaaSDataTenementPackageCreate import \
    SaaSDataTenementPackageCreate
# 删除企业功能包
from SaaSDataTenementSettings.SaaSDataTenementPackageView.SaaSDataTenementPackageDelete import \
    SaaSDataTenementPackageDelete
# 企业的功能包操作
# 获取企业功能包
from SaaSDataTenementSettings.SaaSDataTenementPackageView.SaaSDataTenementPackageQuery import \
    SaaSDataTenementPackageQuery
# 添加企业管理者列表
from SaaSDataTenementSettings.SaaSDataTenementRegulatorView.SaaSDataTenementRegulatorCreate import \
    SaaSDataTenementRegulatorCreate
# 删除企业管理者列表
from SaaSDataTenementSettings.SaaSDataTenementRegulatorView.SaaSDataTenementRegulatorDelete import \
    SaaSDataTenementRegulatorDelete
# 获取企业管理者列表
from SaaSDataTenementSettings.SaaSDataTenementRegulatorView.SaaSDataTenementRegulatorQuery import \
    SaaSDataTenementRegulatorQuery
# 企业员工搜索列表
from SaaSDataTenementSettings.SaaSDataTenementRegulatorView.SaaSDataTenementRegulatorUserQuery import \
    SaaSDataTenementRegulatorUserQuery
# 获取企业管理者账号
from SaaSDataTenementSettings.SaaSDataTenementView.SaaSDataTenementCodeQuery import SaaSDataTenementCodeQuery
# 租户新增
from SaaSDataTenementSettings.SaaSDataTenementView.SaaSDataTenementCreate import SaaSDataTenementCreate
# 租户开启/关闭
from SaaSDataTenementSettings.SaaSDataTenementView.SaaSDataTenementDelete import SaaSDataTenementDelete
# 获取租户信息
from SaaSDataTenementSettings.SaaSDataTenementView.SaaSDataTenementQuery import SaaSDataTenementQuery
# 租户修改
from SaaSDataTenementSettings.SaaSDataTenementView.SaaSDataTenementUpdate import SaaSDataTenementUpdate

"""/platform/api/"""
urlpatterns = [
    # 租户基础信息
    path("saas/data/tenement/query/", SaaSDataTenementQuery.as_view()),  # 获取租户信息
    path("saas/data/tenement/create/", SaaSDataTenementCreate.as_view()),  # 租户新增
    path("saas/data/tenement/delete/", SaaSDataTenementDelete.as_view()),  # 租户开启/关闭
    path("saas/data/tenement/update/", SaaSDataTenementUpdate.as_view()),  # 租户修改
    # 租户管理账号
    path("saas/data/tenement/code/query/", SaaSDataTenementCodeQuery.as_view()),  # 获取企业管理者账号
    path("saas/data/tenement/login/query/", SaaSDataTenementLoginQuery.as_view()),  # 获取企业当前已配置的登录
    path("saas/data/tenement/login/create/", SaaSDataTenementLoginCreate.as_view()),  # 添加企业当前已配置的登录
    path("saas/data/tenement/login/delete/", SaaSDataTenementLoginDelete.as_view()),  # 删除企业当前已配置的登录
    # 租户大模块设置
    path("saas/data/tenement/model/query/", SaaSDataTenementModelQuery.as_view()),  # 获取企业开启的大模块
    path("saas/data/tenement/model/create/", SaaSDataTenementModelCreate.as_view()),  # 为企业开启大模块
    path("saas/data/tenement/model/delete/", SaaSDataTenementModelDelete.as_view()),  # 关闭企业的大模块

    # 获取企业功能包
    path("saas/data/tenement/package/query/", SaaSDataTenementPackageQuery.as_view()),  # 获取企业功能包
    path("saas/data/tenement/package/create/", SaaSDataTenementPackageCreate.as_view()),  # 添加企业功能包
    path("saas/data/tenement/package/delete/", SaaSDataTenementPackageDelete.as_view()),  # 删除企业功能包

    # 企业管理者
    path("saas/data/tenement/regulator/query/", SaaSDataTenementRegulatorQuery.as_view()),  # 企业管理者获取
    path("saas/data/tenement/regulator/create/", SaaSDataTenementRegulatorCreate.as_view()),  # 添加企业管理者列表
    path("saas/data/tenement/regulator/delete/", SaaSDataTenementRegulatorDelete.as_view()),  # 删除企业管理者列表
    path("saas/data/tenement/regulator/user/query/", SaaSDataTenementRegulatorUserQuery.as_view()),  # 企业员工搜索列表
]
